<template>
  <el-input v-model="input" placeholder="请输入内容"></el-input>
</template>

<script>
export default {
  data() {
    return {
      input: "",
    }
  },
  watch: {
    input(newVal) {
      console.log("newVal", newVal)
    },
  },
}
</script>
